import React from 'react';
import GetYCodeFormItem from './GetYCodeFormItem';
import AccountFormItem from './AccountFormItem';
import PasswordFormItem from './PasswordFormItem';
import Welcome from './Welcome';

const LoginWrapper = ({ partLeft, partRight }) => (
  <div className="login-wrapper">
    <div className="login-form">
      <div className="part-left">
        <div className="part-left-bg" />
        <div className="part-left-content">{partLeft}</div>
      </div>
      <div className="part-right">{partRight}</div>
      <div className="copy-right">copyright©2018 深圳喜盈佳服务云有限公司</div>
    </div>
  </div>
);
LoginWrapper.GetYCodeFormItem = GetYCodeFormItem;
LoginWrapper.AccountFormItem = AccountFormItem;
LoginWrapper.Welcome = Welcome;
LoginWrapper.PasswordFormItem = PasswordFormItem;
export default LoginWrapper;
